package com.xiangyun.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

@SpringBootApplication
@EnableAuthorizationServer
@EnableDiscoveryClient
@MapperScan(basePackages="com.xiangyun.auth.dao")
public class TestAuthApplication {
	public static void main(String[] args) throws Exception {
		SpringApplication.run(TestAuthApplication.class, args);
	}
}
